//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-04A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Little Big Town & Sugarland','Bon Secours Wellness Arena','Greenville, SC','Thursday','10/24/2024','7:00 PM','6369168','Little-Big-Town---Sugarland-10-24-2024'],['Little Big Town & Sugarland','PNC Arena','Raleigh, NC','Friday','10/25/2024','7:00 PM','6369169','Little-Big-Town---Sugarland-10-25-2024'],['Little Big Town & Sugarland','Nationwide Arena','Columbus, OH','Saturday','10/26/2024','7:00 PM','6369170','Little-Big-Town---Sugarland-10-26-2024'],['Little Big Town & Sugarland','TD Garden','Boston, MA','Thursday','10/31/2024','7:00 PM','6369171','Little-Big-Town---Sugarland-10-31-2024'],['Little Big Town & Sugarland','PPG Paints Arena','Pittsburgh, PA','Friday','11/1/2024','7:00 PM','6369172','Little-Big-Town---Sugarland-11-1-2024'],['Little Big Town & Sugarland','KeyBank Center','Buffalo, NY','Saturday','11/2/2024','7:00 PM','6369173','Little-Big-Town---Sugarland-11-2-2024'],['Little Big Town & Sugarland','Target Center','Minneapolis, MN','Thursday','11/7/2024','7:00 PM','6369174','Little-Big-Town---Sugarland-11-7-2024'],['Little Big Town & Sugarland','Fiserv Forum','Milwaukee, WI','Friday','11/8/2024','7:00 PM','6369175','Little-Big-Town---Sugarland-11-8-2024'],['Little Big Town & Sugarland','Van Andel Arena','Grand Rapids, MI','Saturday','11/9/2024','7:00 PM','6369176','Little-Big-Town---Sugarland-11-9-2024'],['Little Big Town & Sugarland','T-Mobile Center','Kansas City, MO','Thursday','11/14/2024','7:00 PM','6369177','Little-Big-Town---Sugarland-11-14-2024']],'"sugarland"','https://www.ticketnetwork.com');